<%--
  Created by IntelliJ IDEA.
  User: 唐东
  Date: 2021/1/18
  Time: 19:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>管理员主页</title>
    <meta http-equiv="Content-Type" content="text/html";charset="gb2312">
</head>
<body data-type="index" style="background: pink">
<div class="tpl-page-container tpl-page-header-fixed">
    <div class="tpl-content-wrapper">
        <div class="tpl-content-page-title" style="text-align: center">
            <label style="font-size: 80px;color: white;font-family: YouYuan">网上书店</label>
        </div>
        <div class="tpl-portlet-components" style="display: table;float: left; width: 15%; height: 95%; margin-bottom: 0px;">
            <div class="row am-cf">
                <iframe id="leftContent" width="100%" height="600px" src="adminLeft.jsp" ></iframe>
            </div>
        </div>
        <div class="tpl-portlet-components" style="display: table;float: left; width: 85%; height: 95%; margin-bottom: 0px;">
            <div class="row am-cf">
                <!-- 只需要插入下面这行代码就可以了，配合js指定所展示的url -->
                <iframe id="mainContent" width="100%" height="600px" ></iframe>
            </div>
        </div>
    </div>
</div>
</body>
<script>

    var mainContent = document.getElementById("mainContent");
    <!-- 指定所展示url -->
    mainContent.src = ""
</script>
</html>
